package com.trkj.dao.jpa;

import java.math.BigDecimal;
import java.util.List;

import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
import com.trkj.pojos.JlAlarmRegister;

public interface IjlalarmDAO extends CrudRepository<JlAlarmRegister,Long> {
	@Query("select s from JlAlarmRegister s ")
	public List<JlAlarmRegister> findalarmByPage(Pageable pageable);
	@Query("select s from JlAlarmRegister s where arOperator=?1")
	public List<JlAlarmRegister>  findbyhwy(BigDecimal bd); 
	@Query("select s from JlAlarmRegister s where arPerson=?1")
	public List<JlAlarmRegister>  findbybjrm(String sex); 
}
